Add latin-jisx0201 characters. Fix
authorDave Love <fx@gnu.org>
Sun, 8 Dec 2002 18:59:31 +0000 (18:59 +0000)
committerDave Love <fx@gnu.org>
Sun, 8 Dec 2002 18:59:31 +0000 (18:59 +0000)
translation-table-for-input for lao, thai, tibetan.

lisp/international/ucs-tables.el

index 6380e7addbfa3d0a1c27803783e6c8f95045badc..d7eae5ed4590964b0c6ee1d955635700bc83ab9d 100644 (file)
@@ -2416,12 +2416,19 @@ Interactively, prompts for a hex string giving the code."
         (?\e(1x\e(B . ?\e$,1Dx\e(B)
         (?\e(1y\e(B . ?\e$,1Dy\e(B)
         (?\e(1|\e(B . ?\e$,1D|\e(B)
-        (?\e(1}\e(B . ?\e$,1D}\e(B))))
+        (?\e(1}\e(B . ?\e$,1D}\e(B))
+       
+       (other
+       ;; latin-jisx0201 is mostly decoded to ascii, with these
+       ;; exceptions, so we don't bother with tables for the whole
+       ;; thing.
+       (?\e(J\\e(B . ?\e,A%\e(B)
+       (?\e(J~\e(B . ?\e$,1s>\e(B))))
   (let ((table (make-char-table 'safe-chars))
        safe-charsets)
     (dolist (cs '(vietnamese-viscii lao chinese-sisheng ipa
                  katakana-jisx0201 thai-tis620 tibetan-iso-8bit
-                 indian-is13194 ethiopic))
+                 indian-is13194 ethiopic other))
       ;; These tables could be used as translation-table-for-encode by
       ;; the relevant coding systems.
       (let ((encode-translator
@@ -2447,7 +2454,8 @@ Interactively, prompts for a hex string giving the code."
                                  'translation-table-for-input
                                  encode-translator))
              ((memq cs '(lao thai-tis620 tibetan-iso-8bit))
-              (coding-system-put cs 'translation-table-for-input cs)))))
+              (coding-system-put cs 'translation-table-for-input
+                                 encode-translator)))))
     (dolist (c safe-charsets)
       (aset table (make-char c) t))))